import {request} from '../request'
import {formRequest} from '../formRequest'

export function myInfo(token){
    return request({
        url:'/admin/api/api_myInfo.php',
        data:token
    })
}

//修改数据
export function updateMyInfo(update_data){
    return formRequest({
        url:'/admin/api/api_updateMyInfo.php',
        data:update_data
    })
}